
<%@ page import="wish.Wish" %>
<!doctype html>
<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="layout" content="kickstart" />
	<g:set var="entityName" value="${message(code: 'wish.label', default: 'Wish')}" />
	<title><g:message code="default.show.label" args="[entityName]" /></title>
</head>

<body>

<section id="show-wish" class="first">

	<table class="table">
		<tbody>
		
			<tr class="prop">
				<td valign="top" class="name"><g:message code="wish.wishItems.label" default="Wish Items" /></td>
				
				<td valign="top" style="text-align: left;" class="value">
					<ul>
					<g:each in="${wishInstance.wishItems}" var="w">
						<li>${w?.encodeAsHTML()}</li>
					</g:each>
					</ul>
				</td>
				
			</tr>
			
			<tr class="prop">
				<td valign="top" class="name"><g:message code="wish.cost.label" default="Cost" /></td>
				
				<td valign="top" class="value">$ ${wishInstance.cost.setScale(2)}</td>
			</tr>
						
			<tr class="prop">
				<td valign="top" class="name"><g:message code="wish.price.label" default="Price" /></td>
				
				<td valign="top" class="value">$ ${wishInstance.price.setScale(2)}</td>
			</tr>
		
		</tbody>
	</table>
</section>

</body>

</html>
